<?php

/**
* 
*/
class VarcharField extends BaseTableField
{
  protected $_size=255;
  protected $_type='VARCHAR';
  
  public function setValue($value){
    if(strlen($value)>$this->_size){
      $this->_validationError="Size of vallue is greater than size of field";
    }
  }
}


?>